package com.hq.shcrm;

import net.hasor.spring.boot.EnableHasor;
import net.hasor.spring.boot.EnableHasorWeb;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication(scanBasePackages = {"com.hq.shcrm"})
@MapperScan(basePackages={"com.hq.shcrm.mapper"})
@EnableHasor
@EnableHasorWeb
public class ShcrmApplication {

    public static void main(String[] args) {

        SpringApplication.run(ShcrmApplication.class, args);
    }

}
